package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

import java.util.logging.Logger;


@EnableEurekaServer
@EnableZuulProxy
@SpringBootApplication
@EnableDiscoveryClient
public class ServerApplication {

	private static final Logger logger = Logger.getLogger(ServerApplication.class.toString());

	public static void main(String[] args) {


		logger.info("SpringCloud 服务发现中心启动");

		SpringApplication.run(ServerApplication.class, args);
	}
}
